﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Qiang.Data;

namespace Qiang.Styles
{
    /// <summary>
    /// 
    /// </summary>
    public interface ISelection
    {

        #region 属性


        /// <summary>
        /// 
        /// </summary>
        IExtent Extent { get; }


        IDataset ParentDataset { get; }


        #endregion


        #region 方法

        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="shp"></param>
        void Select(IExtent Region);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="Region"></param>
        /// <param name="Mode"></param>
        void Select(IExtent Region, SelectionMode Mode);

        /// <summary>
        /// 清空
        /// </summary>
        void Clear();

        /// <summary>
        /// 
        /// </summary>
        /// <param name="shp"></param>
        bool Contains(IShape shp);


        #endregion



    }
}
